package com.bugpool.leilema.tc.bean.interfaces;

import java.util.List;

/**
 * @Author wh
 * @Description
 * @Date 2023/6/8 17:47
 * @Version 1.0
 **/
public interface TreeFeature <T extends TreeFeature>{


    /**
     * 获取当前节点
     * @return
     */
    Long getNodeId();


    /**
     * 获取父节点
     * @return
     */
    Long getParentId();

    /**
     * 设置子类集合
     * @param childrenList
     */

    void setChildrenList(List<T> childrenList);


    /**
     * 获取排序
     * @return
     */
    Long getOrder();

}
